package com.yyk.yiliao.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/9/5 0005.
 */

public class CommoeHospital_Info {

    @Override
    public String toString() {
        return "CommoeHospital_Info{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }

    /**
     * code : 1
     * msg : 返回成功
     * data : [{"hid":60,"hospital_name":" 济南市第三人民医院","grade":3,"hospitalType":1,"address":" 山东省济南市无影山中路25号","picture":"/upload/hospital/15327784456196.jpg","distant":9.16},{"hid":62,"hospital_name":"山东省荣军总医院","grade":3,"hospitalType":1,"address":"济南市解放路79号","picture":"/upload/hospital/15327840404148.jpg","distant":16.17},{"hid":48,"hospital_name":"山东大学齐鲁医院","grade":1,"hospitalType":1,"address":"济南市文化西路107号","picture":"/upload/hospital/15327498302045.jpg","distant":109.34},{"hid":49,"hospital_name":"山东省妇幼保健院","grade":1,"hospitalType":1,"address":"济南市经十东路238号","picture":"/upload/hospital/15327500827934.jpg","distant":109.34},{"hid":50,"hospital_name":"山东省立医院","grade":1,"hospitalType":1,"address":"济南市经五纬七路324号","picture":"/upload/hospital/15327502691478.jpg","distant":109.34},{"hid":51,"hospital_name":"山东省千佛山医院","grade":1,"hospitalType":1,"address":"济南市经十路16766号","picture":"/upload/hospital/15327504028490.jpg","distant":109.34},{"hid":53,"hospital_name":"山东省口腔医院","grade":1,"hospitalType":1,"address":"山东省济南市文化西路44-1号 ","picture":"/upload/hospital/15327511879708.png","distant":109.34},{"hid":54,"hospital_name":"山东省皮肤病医院","grade":1,"hospitalType":1,"address":" 济南市经十路27397号","picture":"/upload/hospital/15327756833839.jpg","distant":109.34},{"hid":55,"hospital_name":"济南市中心医院","grade":1,"hospitalType":1,"address":"济南市解放路105号","picture":"/upload/hospital/1532776144914.jpg","distant":109.34},{"hid":56,"hospital_name":"山东省肿瘤医院","grade":1,"hospitalType":1,"address":"济南市历下区解放路105号","picture":"/upload/hospital/15327764811181.jpg","distant":109.34}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        @Override
        public String toString() {
            return "DataBean{" +
                    "his=" + hid +
                    ", hospital_name='" + hospital_name + '\'' +
                    ", grade=" + grade +
                    ", hospitalType=" + hospitalType +
                    ", address='" + address + '\'' +
                    ", picture='" + picture + '\'' +
                    ", distant=" + distant +
                    '}';
        }

        /**
         * hid : 60
         * hospital_name :  济南市第三人民医院
         * grade : 3
         * hospitalType : 1
         * address :  山东省济南市无影山中路25号
         * picture : /upload/hospital/15327784456196.jpg
         * distant : 9.16
         */

        private int hid;
        private String hospital_name;
        private int grade;
        private int hospitalType;
        private String address;
        private String picture;
        private double distant;

        public int getHid() {
            return hid;
        }

        public void setHid(int his) {
            this.hid = his;
        }

        public String getHospital_name() {
            return hospital_name;
        }

        public void setHospital_name(String hospital_name) {
            this.hospital_name = hospital_name;
        }

        public int getGrade() {
            return grade;
        }

        public void setGrade(int grade) {
            this.grade = grade;
        }

        public int getHospitalType() {
            return hospitalType;
        }

        public void setHospitalType(int hospitalType) {
            this.hospitalType = hospitalType;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getPicture() {
            return picture;
        }

        public void setPicture(String picture) {
            this.picture = picture;
        }

        public double getDistant() {
            return distant;
        }

        public void setDistant(double distant) {
            this.distant = distant;
        }
    }
}
